package com.roadjava.rating;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableScheduling
@EnableTransactionManagement
@Slf4j
@MapperScan("com.roadjava.rating.mapper")
//@ComponentScan(basePackages = {"com.roadjava.like.mapper"})
public class RatingApp {
    public static void main(String[] args) {
        SpringApplication.run(RatingApp.class, args);

    }


}